package com.bbcloud.service;

import com.bbcloud.common.ServerResponse;
import com.bbcloud.pojo.User;
import com.bbcloud.vo.UserVo;

/**
 * Created by liuzhu on 2018/11/2.
 */
public interface IUserService {

    ServerResponse<UserVo> login(String username, String password);

    ServerResponse getValidCode(String username);

    ServerResponse register(String username,String validCode,String password,String repassword);

    ServerResponse<User> getUserInfo(String username,String token);

    ServerResponse<String> forgetResetPassword(String username,String password,String validCode);
}
